<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<form method="post" action="/user/login">
    <input type="hidden" th:name="${_csrf.parameterName}" th:value="${_csrf.token}">
    用户名：<input type="text" name="username">
    密码：<input type="text" name="password">
    <br>
    记住我：<input type="checkbox" name="remember-me">
    <input type="submit" value="login">
</form>
</html>